package cn.good.user.service;

import cn.good.vo.UserVO;

public interface QGUserService {
    //用户登录
    String getUserByUserCode(String userCode, String password) throws Exception;
    //用户登出
    void logOut(String token)throws Exception;
    //用户是否存在
    boolean userExist(String userCode)throws Exception;
    //保存注册用户
    void saveUser(UserVO userVO)throws Exception;
    //发送短信
    void sendSmsCode(String phone)throws Exception;
    //手机用户激活
    boolean phoneActivate(String userCode, String value)throws Exception;
}
